package com.ruoyi.device.domain;

import java.util.Date;

/**
 * BorrowInfo 实体类对应数据库中的 borrow_info 表
 */
public class BorrowInfo {
    /** 主键 */
    private Long borrowId;

    /** 设备id */
    private Long deviceId;

    /** 借用用户id */
    private Long userId;

    /** 借用时间 */
    private Date borrowTime;

    /** 借用说明 */
    private String borrowRemark;

    /** 计划归还时间 */
    private Date returnTime;

    /** 归还状态，0申请借用，1未归还，2申请归还，3已归还 */
    private Integer returnStatus;

    /** 归还说明 */
    private String returnRemark;

    /** 创建人id */
    private Long createBy;

    /** 创建事件 */
    private Date createTime;

    /** 更新人id */
    private Long updateBy;

    /** 更新时间 */
    private Date updateTime;

    public Long getBorrowId() {
        return borrowId;
    }

    public void setBorrowId(Long borrowId) {
        this.borrowId = borrowId;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(Date borrowTime) {
        this.borrowTime = borrowTime;
    }

    public String getBorrowRemark() {
        return borrowRemark;
    }

    public void setBorrowRemark(String borrowRemark) {
        this.borrowRemark = borrowRemark;
    }

    public Date getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(Date returnTime) {
        this.returnTime = returnTime;
    }

    public Integer getReturnStatus() {
        return returnStatus;
    }

    public void setReturnStatus(Integer returnStatus) {
        this.returnStatus = returnStatus;
    }

    public String getReturnRemark() {
        return returnRemark;
    }

    public void setReturnRemark(String returnRemark) {
        this.returnRemark = returnRemark;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "BorrowInfo{" +
                "borrowId=" + borrowId +
                ", deviceId=" + deviceId +
                ", userId=" + userId +
                ", borrowTime=" + borrowTime +
                ", borrowRemark='" + borrowRemark + '\'' +
                ", returnTime=" + returnTime +
                ", returnStatus=" + returnStatus +
                ", returnRemark='" + returnRemark + '\'' +
                ", createBy=" + createBy +
                ", createTime=" + createTime +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                '}';
    }
}
